#ifndef TEXTDEVICE_H
#define TEXTDEVICE_H

#include <QThread>
#include <QString>
#include <QMutex>
class TextDevice : public QThread {
	Q_OBJECT
public:
	TextDevice();
	void run();
	void stop();
	public slots:
	void write(const int& handle);
private:
	int m_count;
	QMutex m_mutex;
};
#endif // TEXTDEVICE_H


